using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class test_Computer {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public int id { get; set; }

		[JsonProperty]
		public DateTime? endTime { get; set; }

		[JsonProperty, Column(StringLength = 20)]
		public string ip { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string mac { get; set; }

		[JsonProperty]
		public int name { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string nowStuId { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string nowStuName { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string oper { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string operid { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string remark { get; set; }

		[JsonProperty]
		public int roomId { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string sname { get; set; }

		[JsonProperty]
		public DateTime? startTime { get; set; }

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string state { get; set; } = "0";

		[JsonProperty, Column(StringLength = 50)]
		public string testP1 { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string testP2 { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string testP3 { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string testPid1 { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string testPid2 { get; set; }

		[JsonProperty, Column(DbType = "nchar(10)")]
		public string testPid3 { get; set; }

		[JsonProperty]
		public int? testScore { get; set; }

	}

}
